home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.4)
-
- """ Python Character Mapping Codec generated from 'GREEK.TXT' with gencodec.py.
-
- Written by Marc-Andre Lemburg (mal@lemburg.com).
-
- (c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
- (c) Copyright 2000 Guido van Rossum.
-
- """
- import codecs
-
- class Codec(codecs.Codec):
-
- def encode(self, input, errors = 'strict'):
- return codecs.charmap_encode(input, errors, encoding_map)
-
-
- def decode(self, input, errors = 'strict'):
- return codecs.charmap_decode(input, errors, decoding_map)
-
-
-
- class StreamWriter(Codec, codecs.StreamWriter):
- pass
-
-
- class StreamReader(Codec, codecs.StreamReader):
- pass
-
-
- def getregentry():
- return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
-
- decoding_map = codecs.make_identity_dict(range(256))
- decoding_map.update({
- 128: 196,
- 129: 185,
- 130: 178,
- 131: 201,
- 132: 179,
- 133: 214,
- 134: 220,
- 135: 901,
- 136: 224,
- 137: 226,
- 138: 228,
- 139: 900,
- 140: 168,
- 141: 231,
- 142: 233,
- 143: 232,
- 144: 234,
- 145: 235,
- 146: 163,
- 147: 8482,
- 148: 238,
- 149: 239,
- 150: 8226,
- 151: 189,
- 152: 8240,
- 153: 244,
- 154: 246,
- 155: 166,
- 156: 173,
- 157: 249,
- 158: 251,
- 159: 252,
- 160: 8224,
- 161: 915,
- 162: 916,
- 163: 920,
- 164: 923,
- 165: 926,
- 166: 928,
- 167: 223,
- 168: 174,
- 170: 931,
- 171: 938,
- 172: 167,
- 173: 8800,
- 174: 176,
- 175: 903,
- 176: 913,
- 178: 8804,
- 179: 8805,
- 180: 165,
- 181: 914,
- 182: 917,
- 183: 918,
- 184: 919,
- 185: 921,
- 186: 922,
- 187: 924,
- 188: 934,
- 189: 939,
- 190: 936,
- 191: 937,
- 192: 940,
- 193: 925,
- 194: 172,
- 195: 927,
- 196: 929,
- 197: 8776,
- 198: 932,
- 199: 171,
- 200: 187,
- 201: 8230,
- 202: 160,
- 203: 933,
- 204: 935,
- 205: 902,
- 206: 904,
- 207: 339,
- 208: 8211,
- 209: 8213,
- 210: 8220,
- 211: 8221,
- 212: 8216,
- 213: 8217,
- 214: 247,
- 215: 905,
- 216: 906,
- 217: 908,
- 218: 910,
- 219: 941,
- 220: 942,
- 221: 943,
- 222: 972,
- 223: 911,
- 224: 973,
- 225: 945,
- 226: 946,
- 227: 968,
- 228: 948,
- 229: 949,
- 230: 966,
- 231: 947,
- 232: 951,
- 233: 953,
- 234: 958,
- 235: 954,
- 236: 955,
- 237: 956,
- 238: 957,
- 239: 959,
- 240: 960,
- 241: 974,
- 242: 961,
- 243: 963,
- 244: 964,
- 245: 952,
- 246: 969,
- 247: 962,
- 248: 967,
- 249: 965,
- 250: 950,
- 251: 970,
- 252: 971,
- 253: 912,
- 254: 944,
- 255: None })
- encoding_map = codecs.make_encoding_map(decoding_map)
-